package com.sanyang.lawyer.service.adm;

import com.sanyang.lawyer.entity.Adm_Complain;
import com.sanyang.lawyer.mapper.adm.AdmComplainMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @program: lawyer
 * @description:
 * @author: Mr.Wang
 * @create: 2019-10-30 08:43
 **/

@Service
public class AdmComplainService {

    @Autowired
    private AdmComplainMapper complainMapper;

    public List<Adm_Complain> list(){
        return complainMapper.list();
    }

    public List<Adm_Complain> furry(Map<String,String> map){
        return complainMapper.furry(map);
    }
}
